//
//  YDADayNewsModel.h
//  siyanone
//
//  Created by LK-IOS on 2018/3/23.
//  Copyright © 2018年 LK-News. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YDADayNewsModel : NSObject


/*
 {
 "id": "5a657de1fa40520e546bccfb",
 "title": "国家队“证金公司”晒成绩单 投资收益6.35亿",
 "status": 1,
 "type": 2,
 "newType": null,
 "format": 1,
 "content": "",
 "url": null,
 "coverUrl": "http://image.cailianpress.com/admin/20180122/125609TTUgy9Xdu2M4.png",
 "createTime": "2018-01-22 12:56:26",
 "modifyDate": null,
 "operator": null,
 "clicks": null,
 "source": "财联社",
 "collect": null,
 "brief": null
 }
 */

@property (nonatomic, copy)NSString *Id;
@property (nonatomic, copy)NSString *title;
@property (nonatomic, copy)NSString *coverUrl;
@property (nonatomic, copy)NSString *createTime;
@property (nonatomic, copy)NSString *content;
@property (nonatomic, copy)NSNumber *type;
@property (nonatomic, copy)NSNumber *status;

@property (nonatomic, assign)BOOL isSelected; //选中就是展开状态



//24小时资讯辅助属性
@property (nonatomic , copy) NSString *formateTime;
@property (nonatomic , copy) NSAttributedString *attr24Title;
@property (nonatomic , assign) BOOL isToday;
@property (nonatomic , copy) NSString *week;
@property (nonatomic , copy) NSString *day;

//24小时咨询内容默认高
@property (nonatomic, assign, readonly) CGFloat titleDefaultH;

//******位置属性*********//////

/**
 *  时间图片位置
 */
@property (nonatomic, assign, readonly) CGRect timeImageFrame;

/**
 *  时间位置
 */
@property (nonatomic, assign, readonly) CGRect timeFrame;

/**
 *  内容ViewFrame
 */
@property (nonatomic, assign, readonly) CGRect contentViewFrame;


/**
 *  虚线开始位点
 */
@property (nonatomic, assign, readonly) CGPoint dashStartPoint;

/**
 *  虚线结束位点
 */
@property (nonatomic, assign, readonly) CGPoint dashEndPoint;

/**
 *  attr24Title
 */
@property (nonatomic, assign, readonly) CGRect attr24TitleFrame;


/**
 *  指示图片
 */
@property (nonatomic, assign, readonly) CGRect postImageFrame;

/**
 *  cell高度
 */
@property (nonatomic, assign, readonly) CGFloat cellH;

@end
